<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:56161/" />
<title>Alterar Produto Inválido</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Alterar Produto Inválido</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Produto</td>
	<td>Produto</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Produto</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/table/tbody/tr[4]/td[2]</td>
	<td>Foto Revista</td>
</tr>
<tr>
	<td>assertText</td>
	<td>xpath=(//a[contains(text(),'Editar')])[3]</td>
	<td>Editar</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=(//a[contains(text(),'Editar')])[3]</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>css=fieldset</td>
	<td>Dados do Produto <br /> Nome <br /> <br /> <br /> <br /> Número de Páginas <br /> <br /> <br /> <br /> Formato <br /> <br /> <br /> <br /> Número de Imagens <br /> <br /> <br /> <br /> Valor do Produto</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=Nome</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/form/fieldset/div[4]/label</td>
	<td>Número de Páginas</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=NumeroDePaginas</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/form/fieldset/div[6]/label</td>
	<td>Formato</td>
</tr>
<tr>
	<td>verifyValue</td>
	<td>id=Formato</td>
	<td>15cm x 21cm</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/form/fieldset/div[8]/label</td>
	<td>Número de Imagens</td>
</tr>
<tr>
	<td>verifyValue</td>
	<td>id=NumeroDeImagens</td>
	<td>40</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/form/fieldset/div[10]/label</td>
	<td>Valor do Produto</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>id=ValorDoProduto</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=ValorDoProduto</td>
	<td>1400 reais</td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
